Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Mar 18, 2025

Automated Release PR

0.9.0 (2025-04-23)

Full Changelog: v0.8.0...v0.9.0

⚠ BREAKING CHANGES

  • client: refactor exception structure and methods (#164)
  • client: Migration: Previously you would access error JSON on an exception via exception.error()._additionalProperties(), which would return Map<String, JsonValue>. Now you would access this via exception.body(), which returns JsonValue. You should no longer assume that the returned error JSON is an object. You can check via exception.body().asObject().

Features

  • client: add enum validation method (7fe60b3)
  • client: expose request body setter and getter (#178) (a36c0b6)
  • client: make datetime deserialization more lenient (#177) (a65987d)
  • client: make pagination robust to missing data (445e30e)
  • client: make union deserialization more robust (#176) (7fe60b3)
  • client: support a lower jackson version (#170) (803e291)
  • client: support setting base URL via env var (85b334a)
  • client: throw on incompatible jackson version (803e291)

Bug Fixes

  • client: bump to better jackson version (a2f69b5)
  • client: don't call validate() during deserialization if we don't have to (#173) (e71f053)
  • client: limit json deserialization coercion (#174) (63e2b2c)
  • client: map deserialization bug (2a52b9f)
  • client: return Optional&lt;T&gt; instead of Optional<? extends T> (#182) (e3d5b19)
  • client: support kotlin 1.8 runtime (#161) (c9856ed)
  • pluralize list response variables (#175) (8d7b939)

Performance Improvements

  • client: cached parsed type in HttpResponseFor (#180) (49c0c0a)
  • internal: improve compilation+test speed (8efd75a)

Chores

  • ci: add timeout thresholds for CI jobs (15222f8)
  • client: refactor exception structure and methods (#164) (8463834)
  • client: remove unnecessary json state from some query param classes (7fe60b3)
  • internal: add invalid json deserialization tests (7fe60b3)
  • internal: add json roundtripping tests (7fe60b3)
  • internal: codegen related update (732dd76)
  • internal: codegen related update (#159) (45cca50)
  • internal: codegen related update (#162) (a490f5f)
  • internal: codegen related update (#163) (140986d)
  • internal: codegen related update (#179) (d32e7e5)
  • internal: delete unused methods and annotations (#171) (2a52b9f)
  • internal: expand CI branch coverage (6e596e4)
  • internal: fix example formatting (#166) (3ce1a02)
  • internal: generate more tests (e7cdefc)
  • internal: make multipart assertions more robust (6d40318)
  • internal: reduce CI branch coverage (491a2ae)
  • internal: reformat some tests (#160) (e7cdefc)
  • internal: remove unnecessary assertNotNull calls (6d40318)
  • internal: remove unnecessary import (#167) (03d8ca9)
  • internal: swap from Builder().from(...) to toBuilder() (#172) (d15ef50)
  • internal: swap from getNullable to getOptional (#181) (2fca092)
  • internal: version bump (#157) (0492bdd)

Documentation

  • add comments for page methods (445e30e)
  • add comments to JsonField classes (e3d5b19)
  • client: update jackson compat error message (6039ca5)
  • document how to forcibly omit required field (e797de1)
  • explain http client customization (1388be4)
  • explain jackson compat in readme (8fd288d)
  • minor readme tweak (#169) (4154acd)
  • refine comments on multipart params (#165) (6d40318)
  • swap examples used in readme (#183) (e797de1)
  • update readme exception docs (#168) (39e01a6)

Refactors

  • client: deduplicate page response classes (445e30e)
  • client: migrate pages to builder pattern (b61888c)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 05921e3 to 45cca50 Compare March 19, 2025 12:59
chore(internal): generate more tests
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d2fe442 to e7cdefc Compare March 19, 2025 13:02
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5b45b58 to c9856ed Compare March 19, 2025 14:18
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2513bbe to a490f5f Compare March 19, 2025 14:24
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 000e966 to 140986d Compare March 20, 2025 07:20
# Migration
Previously you would access error JSON on an exception via `exception.error()._additionalProperties()`, which would return `Map<String, JsonValue>`. Now you would access this via `exception.body()`, which returns `JsonValue`. You should no longer assume that the returned error JSON is an object. You can check via `exception.body().asObject()`.
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9f1728c to 8463834 Compare March 20, 2025 07:48
@stainless-app stainless-app bot changed the title release: 0.8.1 release: 0.9.0 Mar 20, 2025
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from f086741 to 8463834 Compare March 20, 2025 07:48
chore(internal): make multipart assertions more robust
chore(internal): remove unnecessary `assertNotNull` calls
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ebea818 to 6d40318 Compare March 21, 2025 07:02
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ade75ce to 3ce1a02 Compare March 22, 2025 06:51
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from cbff9dc to 03d8ca9 Compare March 22, 2025 06:57
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a99ede3 to 39e01a6 Compare March 22, 2025 07:25
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 7947130 to 4154acd Compare March 22, 2025 07:28
feat(client): throw on incompatible jackson version
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 46a8117 to 803e291 Compare March 26, 2025 04:04
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from eb474e8 to 85b334a Compare April 10, 2025 03:34
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b075605 to 6e596e4 Compare April 10, 2025 03:40
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 3c370f1 to a2f69b5 Compare April 10, 2025 04:13
feat(client): make pagination robust to missing data
docs: add comments for page methods
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a094cab to 445e30e Compare April 10, 2025 04:32
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 68d37bb to b61888c Compare April 10, 2025 04:39
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e81e4b9 to 491a2ae Compare April 10, 2025 04:42
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2174169 to 732dd76 Compare April 15, 2025 04:21
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9b9ff1b to 6039ca5 Compare April 16, 2025 03:31
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from f201c40 to 8fd288d Compare April 16, 2025 03:53
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2238cb4 to 8efd75a Compare April 17, 2025 03:31
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 24dc76a to 1388be4 Compare April 17, 2025 03:44
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from dc566a6 to 15222f8 Compare April 23, 2025 05:05
@stainless-app stainless-app bot merged commit 45930bc into main Apr 23, 2025
3 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Apr 23, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant